package service.impl;

import annotation.BeanAnnotation;
import annotation.HandlerAnnotation;
import dao.IDao1;
import mode.mode1;
import service.IService1;
/*
 * @author qplv
 * 
*/
@HandlerAnnotation
public class Service1Impl implements IService1 {
	@BeanAnnotation(beanURL="dao.impl.Dao1Impl")
	private IDao1 dao1=null;
	public IDao1 getDao1() {
		return dao1;
	}
	public void setDao1(IDao1 dao1) {
		this.dao1 = dao1;
	}
	/*
	 * @author qplv
	 * 
	*/
	public mode1 doSomething(mode1 m) {
		m=dao1.doSomething(m);
		return m;
	}
	@Override
	public mode1 doSomething2(mode1 m) {
		m=dao1.doSomething2(m);
		return m;
	}
	
}
